package com.itheima.dao;

import com.itheima.pojo.OrderSetting;


import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderSettingDao {
    //预约数据插入
    public void add(OrderSetting orderSetting);
    public void editNumberByOrderDate(OrderSetting orderSetting);
    public Long findCountByOrderDate(Date orderDate);

    List<OrderSetting> findByMonth(Map<String, String> map);

    OrderSetting findByOrderDate(Date orderDate);
    //更新已预约人数
    void editReservationsByOrderDate(OrderSetting orderSetting);
}
